<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
    <head>
        <base href="<%=basePath%>">
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
        <meta http-equiv="pragma" content="no-cache">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="expires" content="0">
        <title></title>
    </head>
    <body>
        <form action="/user?action=login" method="post">
            <table align="center" border="0">
                <tr>
                    <th><h3>登录</h3><th>
                </tr>
                <tr>
                    <td>账号：</td>
                    <td>
                        <input type="text" name="username" value="admin"/>
                    </td>
                </tr>
                <tr>
                    <td>密码：</td>
                    <td>
                        <input type="password" name="password" value="123456"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                            ${retMag}
                    </td>

                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input type="submit" value="登录"/>

                        <input type="button" value="注册" onclick="javascript:location.href='regist.jsp'"/>
                    </td>
                </tr>
            </table>
        </form>

    </body>
    </html>
